package pl.edu.agh.nn.data.producer;

import pl.edu.agh.nn.conf.InvalidNetworkConfigurationException;

public class SimpleDataProducer implements OutputDataProducer {

	private double[] result;

	@Override
	public void produce(double[] result) {
		this.setResult(result);
	}

	@Override
	public void configure() throws InvalidNetworkConfigurationException {
		// do nothing
	}

	@Override
	public void finish() {
		// do nothing

	}

	public void setResult(double[] result) {
		this.result = result;
	}

	public double[] getResult() {
		return result;
	}

}
